package com.xy.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 基础核验请求对象
 */
@ApiModel(value = "基础核验请求对象 ", description = "基础核验请求对象")
@Data
public class BaseRequest implements Serializable {

	/**
	 * 位置Id
	 */
	@NotNull(message = "位置Id不允许为空")
	@ApiModelProperty(value = "门禁点Id")
	private Long positionId;
	/**
	 * 展会集合
	 */
	@NotNull(message = "展会集合不允许为空")
	@ApiModelProperty(value = "展会集合")
	private List<ExhibitionRequest> exhibitionList;
	/**
	 * 策略Id
	 */
	@ApiModelProperty(value = "策略Id")
	private Long ruleId;
	/**
	 * 位置组ID
	 */
	@NotNull(message = "位置ID不允许为空")
	@ApiModelProperty(value = "位置组ID")
	private Long positionGroupId;
}
